<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>背景练习</title>
		<style type="text/css">
			.nav {
				text-align: center;
			}
			.nav a {
				width: 7.5rem;
				height: 3.125rem;
				background-color: #FFC0CB;
				display: inline-block;
				line-height: 3.125rem;
				text-decoration: none;
				color: #FFFFFF;
				background: url(images/bg.png) no-repeat center;
			}
			.nav a:hover {
				background-image: url(images/11.png);
			}
			.aaa {
				width: 200px;
				height: 300px;
				background-color: rgba(0,0,0,0.3);
			}
		</style>
	</head>
	<body>
		<div class="nav">
			<a href="#">网站首页</a>
			<a href="#">网站首页</a>
			<a href="#">网站首页</a>
			<a href="#">网站首页</a>
			<a href="#">网站首页</a>
			<a href="#">网站首页</a>
		</div>
		<div class="aaa"></div>
	</body>
</html>
